62221c0d14ae3abe7672cb13c7b8a76122fe806a,workflow/src/test/java/io/rouz/task/TaskEvalBehaviorTest.java,TaskEvalBehaviorTest,shouldInterceptCurriedProcessFunctionInContextCL,#,600

Before Change



  @Test
  public void shouldInterceptCurriedProcessFunctionInContextCL() throws Exception {
    Task<String> top = Task.named("Top").<String>curryToValue()
        .ins(() -> singletonList(leaf("A")))
        .ins(() -> singletonList(leaf("B")))
        .process(tc -> b -> {
          LOG.info("b = {}", b);

After Change



  @Test
  public void shouldInterceptCurriedProcessFunctionInContextCL() throws Exception {
    Task<String> top = Task.ofType(String.class).named("Top").curriedWithContext()
        .ins(() -> singletonList(leaf("A")))
        .ins(() -> singletonList(leaf("B")))
        .process(tc -> b -> {
          LOG.info("b = {}", b);